namespace Vin.Extension.Framework.Monitor.Dto.Entities;

public record SysOnlineDto
{
    /// <summary>
    /// 会话id
    /// </summary>
    public string? SessionId { get; set; }
    
    /// <summary>
    /// 账号
    /// </summary>
    public string? AccountName { get; set; }
    
    /// <summary>
    /// 用户名
    /// </summary>
    public string? UserName { get; set; }
    
    /// <summary>
    /// 登录IP
    /// </summary>
    public string? Ip { get; set; }

    /// <summary>
    /// 登录地址
    /// </summary>
    public string? Location { get; set; }

    /// <summary>
    /// 登录浏览器
    /// </summary>
    public string? Browser { get; set; }

    /// <summary>
    /// 登录操作系统
    /// </summary>
    public string? Os { get; set; }
    
    /// <summary>
    /// 登录时间
    /// </summary>
    public DateTime? LoginTime { get; set; }
    
    /// <summary>
    /// 最后心跳时间
    /// </summary>
    public DateTime? LastHeartbeatTime { get; set; }
}